Release 10.1A: OpenEdge Data Management:
SQL Reference
COS
Returns the cosine of
expression.Syntax
Example
This example illustrates the
COSfunction:
Notes
COStakes an angleexpressionand returns the ratio of two sides of a right triangle. The ratio is the length of the side adjacent to the angle divided by the length of the hypotenuse.- The expression specifies an angle in radians.
- The expression must evaluate to an approximate numeric data type.
- To convert degrees to radians, multiply degrees by Pi/180. To convert radians to degrees, multiply radians by 180/Pi.
Compatibility
ODBC compatible
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |